package uk.dier.account.exception;

public class ExceptionService extends Exception{

	private static final long serialVersionUID = 5043563538127268746L;
	private String name;
	private String cause;
	private String description;
	
	
	public ExceptionService() {
		super();
	}
	
	public ExceptionService(String name, String cause, String description) {
		super();
		this.name = name;
		this.cause = cause;
		this.description = description;
	}
	
	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("ExceptionDao [name=");
		builder.append(name);
		builder.append(", cause=");
		builder.append(cause);
		builder.append(", description=");
		builder.append(description);
		builder.append("]");
		return builder.toString();
	}
}
